package dao

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Tel      string `json:"tel" gorm:"type:char(11);not null;unique;comment:'手机号'"`
	Password string `json:"password" gorm:"char(32);not null;comment:'密码'"`
	Status   int    `json:"status" gorm:"tinyint(1);default:1;comment:'1-登录2-下线'"`
}
